from pydantic import BaseModel
from datetime import datetime


class ContentVo(BaseModel):
    id: str
    title: str
    author: str
    content: str
    category_code: str
    category_name: str | None = None


class ArticleCategoryVo(BaseModel):
    id: str
    code: str
    name: str
    del_flag: bool = False
